﻿using System;
using System.Collections.Generic;
using System.Text;
using yiwei.Repository.Entity.core;

namespace yiwei.Repository.Entity
{
    public partial class ModuleElement : BaseEntity
    {

        /// <summary>
        /// DOM ID
        /// </summary>
        public string DomId { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 元素附加属性
        /// </summary>
        public string Attr { get; set; }
        /// <summary>
        /// 元素图标
        /// </summary>
        public string Icon { get; set; }
        /// <summary>
        /// 元素样式
        /// </summary>
        public string Class { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 排序字段
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 功能模块Id
        /// </summary>
        public Guid ModuleId { get; set; }
        /// <summary>
        /// 分类ID
        /// </summary>
        public Type TypeId { get; set; }

      


    }

     public enum Type
    {
        Button,
        Data //数据权限
    }
}
